<?php echo FlashMessage::getInstance()->display(); ?>
<h3 id="page-intro">Danh sách menu</h3>
<div class="content-box"><!-- Start Content Box -->
        
    <div class="content-box-header">
        <?php if(!$menu->getNode()->isRoot()): ?>
        <h3><a href="<?php echo Route::url('menu-list',array('id' => $menu->getNode()->getParent()->id)); ?>"><?php echo $menu->getNode()->getParent()->name; ?></a></h3>
        <?php endif; ?>
        <ul class="content-box-tabs">
            <li><a href="#tab1" class="default-tab">Danh sách</a></li> <!-- href must be unique and match the id of target div -->
            <li><a href="#tab2">Tạo mới</a></li>
        </ul>

        <div class="clear"></div>

    </div> <!-- End .content-box-header -->

    <div class="content-box-content">

        <div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->

            <table>
                <thead>
                    <tr>

                        <th><input class="check-all" type="checkbox" /></th>
                        <th>Tên</th>
                        <th>Liên kết</th>
                        <th class="tc">Trạng thái</th>
                        <th>&nbsp;</th>
                    </tr>

                </thead>

                <tfoot>
                    
                </tfoot>

                <tbody>
                    <?php echo $list->render(); ?>
                </tbody>

            </table>


        </div> <!-- End #tab1 -->

        <div class="tab-content" id="tab2">

            <?php echo $form->render(); ?>

        </div> <!-- End #tab2 -->        

    </div> <!-- End .content-box-content -->

</div> <!-- End .content-box -->
<script type="text/javascript">
	$(document).ready(function(){
		
	});
</script>